﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Data

    ''' <summary>
    ''' A class containing information about a guild perk's spell.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Spell

        ''' <summary>
        ''' The spell ID number.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ID As Integer

        ''' <summary>
        ''' The name of the spell.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' The spell's rank.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Rank As String

        ''' <summary>
        ''' The filename of the icon representing the spell.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Icon As String

        ''' <summary>
        ''' The description of the spell.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Description As String

        ''' <summary>
        ''' The spell's range.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Range As String

        ''' <summary>
        ''' The cast time of the spell.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property CastTime As String

        ''' <summary>
        ''' The spell's cooldown.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Cooldown As String

        Protected Friend Sub New(intID As Integer, strName As String, strRank As String, strIcon As String, strDescription As String, strRange As String, strCastTime As String, strCooldown As String)
            ID = intID
            Name = strName
            Rank = strRank
            Icon = strIcon
            Description = strDescription
            Range = strRange
            CastTime = strCastTime
            Cooldown = strCooldown
        End Sub

    End Class

End Namespace